@import "../global-connect";

.ant-dropdown-menu-item > a,
.ant-dropdown-menu-submenu-title > a {
  display: inline-block !important;
}

.dx-logged {

  .action-bar {
    display: inline-block;
    transition: all .3s;
    height: 100%;
    min-width: 300px;
    padding-right: 0;
    line-height: 48px;
    @media (min-width: @screen-xxl) {
      line-height: 56px;
    }
    float: right;

    .icon-top {
      font-size: 24px;
      margin-left: 12px;
      display: inline-block;
      float: right !important;
      margin-top: 12px;
      @media (min-width: @screen-xxl) {
        margin-top: 16px;
      }

      &:hover {
        cursor: pointer;
        color: yellow;
      }
    }

    .search-top {
      display: inline-block;
      width: 240px;
      margin-right: 16px;
      float: right !important;
    }
  }

  .action {
    cursor: pointer;
    display: inline-block;
    transition: all .3s;
    height: 100%;
    min-width: 80px;

    > i {
      font-size: 16px;
      vertical-align: middle;
    }

    &:hover, .ant-popover-open {
      background: @primary-1;
      color: #646464;
    }
  }

  .notify-notice-button {
    cursor: pointer;
    display: inline-block;
    transition: all .3s;
    min-width: 60px !important;
    text-align: center;
    margin-right: 4px;

    .notify-icon {
      font-size: 24px;
      padding: 4px;
    }
  }

  .account {
    float: right;

    .avatar {
      .ix-bg.color(@primary-color, rgba(188, 188, 188, .85));
      vertical-align: middle;
    }

    .name {
      margin-left: 10px;
    }
  }
}